<script>

</script>
<template>
    <el-card>
        <template #header>选课信息管理</template>
        <div class="nav-bar">
            <div class="search">
                <el-input size="small" placeholder="专业名" clearable></el-input>
                <el-input size="small" placeholder="班级名" clearable></el-input>
                <el-input size="small" placeholder="课程名" clearable></el-input>
                <el-button size="small" type="primary">
                    <template #icon>
                        <el-icon><EpSearch /></el-icon>
                    </template>
                    <span>查询</span>
                </el-button>
            </div>
            <div>
                <el-button size="small" type="success">
                    <template #icon>
                        <el-icon><EpPlus /></el-icon>
                    </template>
                    <span>添加</span>
                </el-button>
            </div>
        </div>
        <el-table border stripe size="small" :data="[]">
            <template #empty>
                <el-empty description="暂无数据" />
            </template>
            <el-table-column label="序号" type="index" width="60"></el-table-column>
            <el-table-column label="课程名称" prop=""></el-table-column>
            <el-table-column label="学生名称" prop=""></el-table-column>
            <el-table-column label="学生班级" prop=""></el-table-column>
            <el-table-column label="日常分" prop=""></el-table-column>
            <el-table-column label="期末分" prop=""></el-table-column>
            <el-table-column label="总分" prop=""></el-table-column>
            <el-table-column label="操作" width="120">
                <el-button type="primary" link>编辑</el-button>
                <el-button type="danger" link>删除</el-button>
            </el-table-column>
        </el-table>
        <el-pagination size="small" background 
            layout="total, sizes, prev, pager, next, jumper"
            :page-sizes="[5,10,20,30,40,50]"
            :total="200"
        />
    </el-card>
    
</template>

<style scoped>
.nav-bar{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin-bottom: 14px;
}
.nav-bar .el-input{
    width: 180px;
    margin-right: 10px;
}
.el-pagination{
    margin-top: 14px;
    justify-content: center;
}
</style>
